package com.attendance.www.hr.dao.mapper;

import com.attendance.www.hr.entitys.ApprovalRecord;
import com.attendance.www.hr.entitys.ApprovalRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ApprovalRecordMapper {
    int countByExample(ApprovalRecordExample example);

    int deleteByExample(ApprovalRecordExample example);

    int deleteByPrimaryKey(Integer approvalRecordId);

    int insert(ApprovalRecord record);

    int insertSelective(ApprovalRecord record);

    List<ApprovalRecord> selectByExample(ApprovalRecordExample example);

    ApprovalRecord selectByPrimaryKey(Integer approvalRecordId);

    int updateByExampleSelective(@Param("record") ApprovalRecord record, @Param("example") ApprovalRecordExample example);

    int updateByExample(@Param("record") ApprovalRecord record, @Param("example") ApprovalRecordExample example);

    int updateByPrimaryKeySelective(ApprovalRecord record);

    int updateByPrimaryKey(ApprovalRecord record);
}